#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QStandardItemModel>
#include <QDir>
#include <QUuid>
#include <QDragEnterEvent>
#include <QMimeData>
#include <QDebug>
#include <QFileInfo>
#include <QFileDialog>
#include <QProcess>
#include <QPrinterInfo>
#include <QThread>
#include <windows.h>

QT_BEGIN_NAMESPACE
namespace Ui {
class Widget;
}
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private:
    Ui::Widget *ui;
    QStandardItemModel *m_model ;
    QString getTempFileName();
    void addFieListToModel(QStringList fl);
    QString mergePdf();

//拖放
protected:
    void dragEnterEvent(QDragEnterEvent *event) override;
    void dropEvent(QDropEvent *event) override;
private slots:
    void on_m_btn_print_clicked();
    void on_m_btn_clean_clicked();
    void on_m_btn_merge_clicked();
    void on_m_btn_add_clicked();
    void on_m_btn_delete_clicked();
};


#endif // WIDGET_H
